翻訳と辞書
Words near each other
・ WBZS
・ WBZS (disambiguation)
・ WBZT
・ WBZU
・ WBZV
・ WBZW
・ WBZW (disambiguation)
・ WBZY
・ WBZY Northern Might
・ WBZZ
・ WBZZ (disambiguation)
・ WBZZ-HD2
・ WC
・ WC (band)
・ WC (rapper)
Wc (Unix)
・ WC and the Maad Circle
・ WC discography
・ WC postcode area
・ WC Yugra
・ WC1
・ WC2
・ WC3
・ WC4
・ WCA
・ WCAB
・ WCAD
・ WCAE
・ WcaG RNA motif
・ WCAI


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Wc (Unix) : ウィキペディア英語版
Wc (Unix)

wc (short for word count) is a command in Unix-like operating systems.
The program reads either standard input or a list of files and generates one or more of the following statistics: newline count, word count, and byte count. If a list of files is provided, both individual file and total statistics follow.
Sample execution of wc:
$ wc foo bar
40 149 947 foo
2294 16638 97724 bar
2334 16787 98671 total
The first column is the count of newlines, meaning that the text file foo has 40 newlines while bar has 2294 newlines- resulting in a total of 2334 newlines. The second column indicates the number of words in each text file showing that there are 149 words in foo and 16638 words in bar- giving a total of 16787 words. The last column indicates the number of characters in each text file, meaning that the file foo has 947 characters while bar has 97724 characters- 98671 characters all in all.
Newer versions of wc can differentiate between byte and character count. This difference arises with Unicode which includes multi-byte characters. The desired behaviour is selected with the -c or -m switch.
GNU wc used to be part of the GNU textutils package; it is now part of GNU coreutils.
==Usage==

*''wc -l '' prints the line count (note that if the last line does not have \n, it will not be counted)
*''wc -c '' prints the byte count
*''wc -m '' prints the character count
*''wc -L '' prints the length of longest line (GNU extension)
*''wc -w '' prints the word count

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Wc (Unix)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.